<?php	include("common.php");		$result = mysql_query("SELECT * FROM `197_homeworks` WHERE `date` = '" . $_GET['date'] . "'");	$homeworks = array();	while($row = mysql_fetch_assoc($result)){		array_push($homeworks, $row);	}	?><?php include("header.php"); ?><?php if(!AJAX){ ?><h1><?php echo $_GET['date']; ?> 聯絡簿</h1><?php } ?><?php if(empty($homeworks)){ ?>	<p>今日尚未有聯絡事項。</p><?php } else { ?>	<ul>		<?php foreach($homeworks as $row){ ?>			<li><?php echo htmlspecialchars($row['content']); ?></li>		<?php } ?>	</ul><?php } ?><?php include("sidebar.php"); ?><?php include("footer.php"); ?>